package com.kabigon.tiny.pojo.response;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 通用返回结果
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.pojo.request
 * @data 2022/5/16 0:51
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CommonResponse<T> extends BaseResponse {
    /**
     * 数据列表
     */
    protected T data;

    public CommonResponse() {
        super();
    }

    public CommonResponse(T data) {
        super();
        this.data = data;
    }
}